home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Purity
/
Purity #52 (1995-10-30)(PackMAN)(DE)[WB, FFS].zip
/
Purity #52 (1995-10-30)(PackMAN)(DE)[WB, FFS].adf
/
Cal
/
cal.doc
< prev
next >
Wrap
Text File
|
1995-10-01
|
2KB
|
111 lines
cal, written by Andreas Tetzl
this is FREEWARE !
INTRODUCTION
Cal is a command similar to the one found on UNIX systems.
It shows a calendar of the current month or any other month.
DISTRIBUTION
Cal is FREEWARE ! You are free to distribute the archive
as long as no files are removed or changed.
Commercial use or inclusion in other software packages
is prohibited without the permission of the author.
REQUIREMENTS
Cal needs at least Kickstart 2.0 v37.
If you have Kickstart v38+ installed, it will use the
locale.library.
INSTALLATION
Just copy it to your c directory or somewhere you want
- that's all.
CLI OPTIONS
MONTH/N,YEAR/N
If you specify no arguments, the current month will be
printed.
You can specify a month and a year to print a month
other than the current.
format:
MONTH: the number of month (1-12)
YEAR: the year in short or long form (e.g. 95 or 1995)
examples:
cal 4 ; april of the current year
cal 3 1996 ; mar-1996
cal 2 93 ; feb-1993
cal 12 2000 ; dec-2000
cal 1 3 ; jan-2003
ENVIRONMENT VARIABLES
The program will produce an output like this:
September 1995
Su Mo Tu We Th Fr Sa
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
If you prefer an output with sunday as last weekday, you
have to set the environment variable SUNDAY_LAST.
Use 'setenv SUNDAY_LAST 1' to set the variable.
Then execute cal and you will get an output like this:
September 1995
Mo Tu We Th Fr Sa Su
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30
If you want SUNDAY_LAST set up permanently you have to copy
the variable to ENVARC.
use:
copy ENV:SUNDAY_LAST ENVARC:
hope you like it ...
so long,
Andreas
Andreas Tetzl, Liebethaler Str. 18, 01796 Pirna, Germany
Tel: +49-(0)3501-523854 email: atetzl@hawk.sax.de